<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-planNew-edit" th:object="${planNew}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">平台用户id：</label>
				<div class="col-sm-8">
					<input id="merchantId" name="merchantId" th:field="*{merchantId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">平台用户姓名：</label>
				<div class="col-sm-8">
					<input id="merchantName" name="merchantName" th:field="*{merchantName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">平台用户手机号：</label>
				<div class="col-sm-8">
					<input id="merchantPhone" name="merchantPhone" th:field="*{merchantPhone}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">A卡号：</label>
				<div class="col-sm-8">
					<input id="cardNumberA" name="cardNumberA" th:field="*{cardNumberA}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">B卡号：</label>
				<div class="col-sm-8">
					<input id="cardNumberB" name="cardNumberB" th:field="*{cardNumberB}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">状态(0待执行1执行中2失败3成功4暂停5删除)：</label>
				<div class="col-sm-8">
					<input id="status" name="status" th:field="*{status}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建时间：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">修改时间：</label>
				<div class="col-sm-8">
					<input id="updateTime" name="updateTime" th:field="*{updateTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">还款金额：</label>
				<div class="col-sm-8">
					<input id="planAmt" name="planAmt" th:field="*{planAmt}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预留金：</label>
				<div class="col-sm-8">
					<input id="cbAmt" name="cbAmt" th:field="*{cbAmt}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">计划类型 （1智能2完美还）：</label>
				<div class="col-sm-8">
					<input id="type" name="type" th:field="*{type}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">每天还款笔数：</label>
				<div class="col-sm-8">
					<input id="everyNum" name="everyNum" th:field="*{everyNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">地区：</label>
				<div class="col-sm-8">
					<input id="region" name="region" th:field="*{region}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">执行时间组：</label>
				<div class="col-sm-8">
					<input id="executionTime" name="executionTime" th:field="*{executionTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">最大组数：</label>
				<div class="col-sm-8">
					<input id="maxGroupNum" name="maxGroupNum" th:field="*{maxGroupNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">费率：</label>
				<div class="col-sm-8">
					<input id="rate" name="rate" th:field="*{rate}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">笔数费：</label>
				<div class="col-sm-8">
					<input id="pro" name="pro" th:field="*{pro}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/planNew"
		$("#form-planNew-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-planNew-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
